package com.nju.galaxywalker.listener;

import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.View.OnClickListener;

//import com.nju.galaxywalker.elemainspace.PeosonalGoodsActivity;
import com.nju.galaxywalker.elemainspace.ThrowNewGoods;

public class NewGoodsListener implements OnClickListener{

	
	
	private  Context context;
	private int type;
	String userid;
	
	public NewGoodsListener(Context s,int type, String userid){
		this.context =s;
		this.type=type;
		this.userid = userid;
	}
	@Override
	public void onClick(View arg0) {
		// TODO Auto-generated method stub
		Intent intent = new Intent();
		
		intent.setClass(context, ThrowNewGoods.class);
		intent.putExtra("userid", userid);
		
		context.startActivity(intent);
	}
	

}